
import { Tldraw } from '@tldraw/tldraw'
import '@tldraw/tldraw/editor.css'
import '@tldraw/tldraw/ui.css'

function App() {

  return (
    <div style={{ height: "100vh" }}>
      <Tldraw onMount={(app) => {
        app.updateUser({ locale: "zh-cn" });
        app.updateUserDocumentSettings({ isGridMode: true });
        app.updateInstanceState({ isDebugMode: false });
      }} />
    </div>
  )
}

export default App
